package com.test.auth_db_auto.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ Author: .Mr
 * @ ClassName OauthClientDetails
 * @ Description TODO
 * @ date 2021/11/30 16:26
 * @ Version 1.0
 */
@Data
@TableName("oauth_client_details")
@Accessors(chain = true)
public class OauthClientDetails implements Serializable {
    @TableId("client_id")
//    @TableField("client_id")
    private String clientId;
    @TableField("resource_ids")
    private String resourceId;
    @TableField("client_secret")
    private String clientSecret;
    private String scope;
    @TableField("authorized_grant_types")
    private String authorizedGrantTypes;
    @TableField("web_server_redirect_uri")
    private String webServerRedirectUri;
    private String authorities;
    @TableField("access_token_validity")
    private Integer accessTokenValidity;
    @TableField("refresh_token_validity")
    private Integer refreshTokenValidity;
    @TableField("additional_information")
    private String additionalInformation;
    private String autoApprove;
}
